package com.example.ware.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("detps")
public class Depts {

    @TableId(type = IdType.AUTO) // 声明自增主键
    private  Long id;
    private String name;
    private String parentId;
    private String parentName;

}
